package cn.exrick.xboot.base.vo

import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty

@ApiModel("部门实体")
data class DepartmentVo(

        @ApiModelProperty("部门id")
        var id: String? = null,

        @ApiModelProperty(value = "部门名称")
        var title: String? = null,

        @ApiModelProperty(value = "是否为父节点(含子节点) 默认false")
        var isParent: Boolean? = false,

        @ApiModelProperty("当前部门下面的人数")
        var employeeNum:Int? = 0,

        @ApiModelProperty("当前部门的下级")
        var departmentNext: MutableList<DepartmentVo>? = null
)
